﻿<controls:ChildWindow 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
  xmlns:dataform="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm.Toolkit"
  xmlns:activity="clr-namespace:System.Windows.Controls;assembly=ActivityControl"
  xmlns:app="clr-namespace:CARE"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  x:Class="CARE.GenerateSocialNetworkWindow"
  x:Name="childWindow"
  Height="Auto"
  Title="Generate Social Network"
  mc:Ignorable="d">
  	<!--
	<controls:ChildWindow.Style>
		<StaticResource ResourceKey="LogRegWindowStyle"/>
	</controls:ChildWindow.Style>
	-->
    <Grid x:Name="LayoutRoot">

    	<Grid.RowDefinitions>
        	<RowDefinition />
        	<RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
		
		<StackPanel Grid.Row="0" >
			<TextBlock><Run Text="Choose type of generator:"/></TextBlock>
			<ComboBox x:Name="generators" Width="250" SelectionChanged="Generators_SelectionChanged" />	
			<StackPanel x:Name="generatorsPanel" Orientation="Vertical" Height="Auto">
			</StackPanel>
            
           <StackPanel x:Name="conditionPanel" Orientation="Horizontal" Margin="0,4,0,4">
				<TextBlock><Run Text="Condition:"/></TextBlock>
                <TextBox x:Name="condition" Height="20" Width="90" TextChanged="Condition_TextChanged"/>
           </StackPanel>
		</StackPanel>

        <Button Content="Cancel" Click="CancelButton_Click" Margin="0,0,0,1" Grid.Row="1" Style="{StaticResource RegisterLoginButtonStyle}"/>
        <Button x:Name="generateButton" Visibility="Visible" Content="Generate" Click="Generate_Click"   Grid.Row="1" Style="{StaticResource RegisterLoginButtonStyle}" />
        <Button x:Name="saveButton" Visibility="Collapsed" Content="Save" Click="SaveButton_Click" Grid.Row="1" Style="{StaticResource RegisterLoginButtonStyle}" />

     </Grid>
</controls:ChildWindow>